package com.hy.mapper;

import com.hy.domain.BlogComments;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hy.domain.dto.CommentDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hou
* @description 针对表【blog_comments(文章评论)】的数据库操作Mapper
* @createDate 2023-05-02 23:03:16
* @Entity com.hy.domain.BlogComments
*/
public interface BlogCommentsMapper extends BaseMapper<BlogComments> {

    List<CommentDTO> listCommentsByBlogId(@Param("blogId") Long blogId);

}




